package com.yxw.yxnet_cd_center.common.constant;

/**
 * redis 缓存key前缀设置
 *
 * @author admin
 */
public class RedisIdConstant {


    /**
     * 字典表：sys_dict_data
     */
    public static String DICT_DATA = "dict_data";
    /**
     * 客户申请服务产生的会话
     */
    public static final String SYSTEM_REDIS_CLIENT_FILED_SERVICE_PREFIX = "CUSTOMER_SERVICE_CLIENT_FILED_SERVICE";
    /**
     * 系统用户登录时产生的缓存Key前缀
     */
    public static final String SYSTEM_REDIS_USER_FILED_SERVICE_PREFIX = "CSS_USER_PC_";
    /**
     * 系统用户全局参数的缓存Key前缀
     */
    public static final String SYSTEM_REDIS_USERPARM_FILED_SERVICE_PREFIX = "CSC_USERPARM_PC_";

    /**
     * 登录图形验证码存放key前缀
     */
    public static final String LOGIN_PICTURE_CODE = "CSS_VERIFY_CODE_";

    /**
     * 登录短信验证码存放key前缀
     */
    public static final String LOGIN_SMS_CODE = "SMS_VERIFY_CODE_";

    /**
     * 登录token存放前缀
     */
    public static final String LOGIN_TOKEN = "CSS_USER_TOKEN_";

    /**
     * 登录失败次数存放前缀
     */
    public static final String LOGIN_FAIL_COUNT = "LOGIN_FAIL_COUNT_";

    /**
     * 点播视频点赞前缀
     */
    public static final String ON_DEMAND_VIDEO_LIKE = "ON_DEMAND_VIDEO_LIKE";
    /**
     * 点播点赞量前缀
     */
    public static final String ON_DEMAND_VIDEO_LIKE_CNT = "ON_DEMAND_VIDEO_LIKE_CNT";

    /**
     * 点播新增点赞key
     */
    public static final String ON_DEMAND_VIDEO_LIKE_ADD = "ON_DEMAND_VIDEO_LIKE_ADD";

    /**
     * 点播删除点赞key
     */
    public static final String ON_DEMAND_VIDEO_LIKE_DEL = "ON_DEMAND_VIDEO_LIKE_DEL";

    /**
     *修改密码操作验证码
     */
    public static final String UPDATE_PWD_SMS_CODE = "UPDATE_PWD_SMS_CODE_";

    /**
     * 直播点赞前缀
     */
    public static final String LIVE_VIDEO_LIKE = "LIVE_VIDEO_LIKE";

    /**
     * 直播点赞量前缀
     */
    public static final String LIVE_VIDEO_LIKE_CNT = "LIVE_VIDEO_LIKE_CNT";
    public static final String LIVE_VIDEO_LIKE_ADD = "LIVE_VIDEO_LIKE_ADD";

    /**
     * 商品库存相关
     */
    public static final String PRODUCT_TOTAL_CNT = "PRODUCT_TOTAL_CNT";// 总库存
    public static final String PRODUCT_PREE_CNT = "PRODUCT_PREE_CNT";// 预占库存
    public static final String PRODUCT_USE_CNT = "PRODUCT_USE_CNT";// 实占库存
    public static final String PRODUCT_LIVE_CNT = "PRODUCT_LIVE_CNT";// 直播库存

    /**
     * 点播视频关注推荐前缀
     */
    public static final String VOD_FOLLOW = "VOD_FOLLOW_";

    /**
     * 点播视频已经推荐过的前缀
     */
    public static final String PLAT_VOD_RECOMMEND = "PLAT_VOD_RECOMMEND_";

    /**
     * 热门视频：高赞高转发高播放视频（播放量>1000，点赞率>20%，转发率>5%，发布时间2周内）
     */
    public static final String POPULAR_VOD_RECOMMEND = "POPULAR_VOD_RECOMMEND";

    /**
     * 三天内最新视频
     */
    public static final String NEW_VOD_RECOMMEND = "NEW_VOD_RECOMMEND";

    /**
     * 点播视频商品点击
     */
    public static final String VOD_PRODUCT_CLICK = "VOD_PRODUCT_CLICK";

    /**
     * 点播收藏相关
     */
    public static final String ONDEMAND_VIDEO_COLLECTION_CNT = "ONDEMAND_VIDEO_COLLECTION_CNT";
    public static final String ONDEMAND_VIDEO_COLLECTION = "ONDEMAND_VIDEO_COLLECTION";
}
